<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Login extends CI_Controller {
     
	 private $data;

	 public function __construct()
	 {
		parent::__construct();
		$this->load->model('system/user_m','user_m',TRUE);
		$this->load->helper('cookie');
	 }
	 	 
	 public function index(){

		// Check whether remember me if exist in cookie
			 
		$this->data['baseUrl'] =  $this->config->item('base_url');
		$this->data['header'] = 'system/_template/header_anon_v';
		$this->data['content'] = 'system/login_v';
		$this->data['title'] = 'Login';
        $this->data['enable_title'] = 0;

		try{
			$this->load->view('system/_template/template_v', $this->data);
		}
		catch(Exception $e)
		{
			$this->load->helper('url');
			show_404();
		}
	 }

}

/* End of file login.php */
/* Location: ./application/controllers/login.php */
